package com.tao.mytestsocket.http.inter;

import androidx.annotation.NonNull;

import com.tao.utilslib.log.LogUtil;
import com.yanzhenjie.andserver.annotation.Interceptor;
import com.yanzhenjie.andserver.framework.HandlerInterceptor;
import com.yanzhenjie.andserver.framework.handler.RequestHandler;
import com.yanzhenjie.andserver.http.HttpRequest;
import com.yanzhenjie.andserver.http.HttpResponse;

import org.jetbrains.annotations.NotNull;

/**
 * reate by tao on{DATE}
 */
@Interceptor
public class DefaultInterceptor implements HandlerInterceptor {
    @Override
    public boolean onIntercept(@NonNull @NotNull HttpRequest request, @NonNull @NotNull HttpResponse response, @NonNull @NotNull RequestHandler handler) throws Exception {
        LogUtil.e("拦截器");
        
        return false;
    }
}
